<div id="myCarousel" class="carousel slide">
	<?php if (count($carousel_list) > 0): ?>
	<ol class="carousel-indicators">
		<?php for ($i=0; $i<count($carousel_list); $i++): 
				if ($i == 0): ?>
					<li data-target="#myCarousel" data-slide-to="<?php print $i; ?>" class="active"></li>
			<?php else: ?>
					<li data-target="#myCarousel" data-slide-to="<?php print $i; ?>"></li>
			<?php endif; ?>
		<?php endfor; ?>
	</ol>		
	<div class="carousel-inner">		
		<?php if (count($carousel_list) > 0): 
				for ($i=0; $i<count($carousel_list); $i++):
					if ($i == 0): ?>
						<div class="item active">
					<?php else: ?>
						<div class="item">
					<?php endif; ?>
					
					<img src="<?php print $carousel_list[$i]['CAR_IMG'] ?>" style="height:300px; width:940px;" /></div>	
			<?php endfor;?>					
		<?php endif; ?>
	</div>
	
	<!-- Carousel nav -->
	<a class="carousel-control left" href="#myCarousel" data-slide="prev">&lsaquo;</a>
	<a class="carousel-control right" href="#myCarousel" data-slide="next">&rsaquo;</a>
	<?php endif; ?>	
</div>
<div class="line-seperator"></div>
<script type="text/javascript">
	$(document).ready(function(){
		$('.carousel').carousel()
	});
</script>